<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<script src="../js/jquery.js"></script>
<script>
	$(document).ready(function(){
		$("#remove_div").click(function(){
			$("div").remove();
		});
		$("#empty_div").click(function(){
			$("div").empty();
		});
	});
</script>
<title>DOM remove</title>
</head>
<body>
<div style="height:100px;width:300px;">
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
</div>
<button id="remove_div">Remove Div</button>
<button id="empty_div">Empty Div</button>
</body>
</html>